package homework.day08.bean;

import homework.day08.iface.IFlyAble;
import homework.day08.iface.ISingAble;

/**
 * @author ThinkBook
 */
public class Student extends Person implements IFlyAble, ISingAble {
    private String id;
    private String score;

    public Student(String name,int age,String id,String score){
        super(name,age);
        this.id = id;
        this.score = score;
    }
@Override
    public void sing(){
    System.out.println("会唱歌");
}
@Override
    public void fly(){
    System.out.println("会飞");
}
}
